package com.arpa.wms.domain.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

/**
 * 期初 VO
 * @author jinss
 * @date 2020-09-24 13:29:01
 **/
@Data
@ApiModel(value="InitializationVO对象", description="期初管理VO")
public class InitializationVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "期初单号")
    private String code;

    @ApiModelProperty(value = "所属机构")
    private String groupCode;

    @ApiModelProperty(value = "仓库")
    private String warehouseCode;

    @ApiModelProperty(value = "仓库")
    private String warehouseName;

    @ApiModelProperty(value = "数量")
    private BigDecimal totalUnitQuantity;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "创建时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtCreated;

    @ApiModelProperty(value = "创建人")
    private String createdName;

    @ApiModelProperty(value = "修改人")
    private String modifiedName;

    @ApiModelProperty(value = "修改时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "总数")
    private Long total;

    @ApiModelProperty(value = "总条数")
    private Long totalNum;

    @ApiModelProperty(value = "期初单明细")
    private List<InitializationItemVO> initializationItemList = new ArrayList<>();
}
